#define _CRT_SECURE_NO_WARNINGS 1
#define MONTHS 12
#include<stdio.h>
int main()
{
	int days[MONTHS] = { 31,28,31,30,31,30,31,31,30,31,30,31 };
	int index;

	for (index = 0; index < MONTHS; index++)
		printf("Month %2d has %d days.\n", index + 1, *(days + index));
	return 0;
}